package com.jcrj.remoteclient.ui;

import net.tsz.afinal.FinalActivity;
import android.content.Context;
import android.os.Bundle;

import com.jcrj.remoteclient.AppContext;
import com.jcrj.remoteclient.util.AppManager;

public class BaseActivity extends FinalActivity {

	protected AppContext appContext;
	protected Context context;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		appContext = (AppContext) getApplicationContext();
		AppManager.getAppManager().addActivity(this);
		context = this;
	}

}
